#include "Cell.h"
#include <map>

int stateManage(const char *);

int textReader(const char *argg, list<Cell*> &, list<Cell*> &, Cell **);

int initMultiset(Cell **, const int, multimap<bool*, Cell*>&);

int getMapObject(multimap<bool*, Cell*>&);

int blackProcessing(list<Cell *> &, Cell **);

int whiteProcessing(list<Cell *> &, Cell **);

void otherProcessing(list<Cell *> &, Cell **);

pair<int, int> decomposite(int);

typedef list<Cell*>::iterator iter;

